package domain.service.user;

import domain.dao.user.UserInfosDao;
import domain.entity.UserInfos;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2017/9/6.
 */
@Service
public class UserInfosService {
    @Autowired
    private UserInfosDao userInfoDao;

    /*public UserInfos getUserInfoByOpenId(String openid) {
       return userInfoDao.getUserInfoByOpenId(openid);
    }*/

    public Long getUserInfo(UserInfos userInfo) {
        return userInfoDao.getUserInfo(userInfo);
    }
}
